package top.gangster.lunan.userservice.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import top.gangster.lunan.userservice.entity.Department;
import top.gangster.lunan.userservice.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 角色表，角色id不仅映射了该角色的名称，而且代表了该角色所对应的权限等级 Mapper 接口
 * </p>
 *
 * @author vic
 * @since 2021-11-06
 */
public interface RoleMapper extends BaseMapper<Role> {
  IPage<Role> selectPageRoleList(Page<?> page);
  IPage<Role> selectPageRoleByName(Page<?> page,String roleName);
}
